-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kill REG_PROFILER_RET_SCRATCH #37679
Conversation
@dotnet/jit-contrib PTAL |
ping @dotnet/jit-contrib |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@CarolEidt I have a question - what would happen when r0
is not used (when a method returns void, HFA, or uses a return buffer)? We will still consider r2
(REG_PROFILER_RET_SCRATCH
) as killed even though it wasn't?
Yes, unfortunately that's the case. |
This reverts commit b179e19.
This reverts commit b179e19.
This reverts commit b179e19.
If profiling is enabled, we need to kill
REG_PROFILER_RET_SCRATCH
as it may be used if r0 is occupied.Fix #37223